<?php

class ConsultationModule extends fvModule {

    function __construct () {
        $moduleName = strtolower(substr(__CLASS__, 0, -6));

        parent::__construct(fvSite::$fvConfig->get("modules.{$moduleName}.smarty.template"), 
                            fvSite::$fvConfig->get("modules.{$moduleName}.smarty.compile"), 
                            fvSite::$Layoult);
    }

    function showIndex($params) {
    	$this->__assign(array(
	    "sp" => StaticPagesManager::getInstance()->getAll("tech_url='consultation' and lang='".fvSite::$fvSession->get("lang")."'")));
        return $this->__display('consultation_form.tpl'); 
    }
}

?>
